//
//  XXIncomeTaxCalculationTimeSelectCell.h
//  XingXue
//
//  Created by XingXue Team on 2023.
//  Copyright © 2023 XingXue Team. All rights reserved.
//

#import "BaseTableViewCell.h"

@class XXIncomeTaxCalculationTimeSelectCell;
@class XXIncomeTaxCalculationTimeSelectCellModel;

@protocol XXIncomeTaxCalculationTimeSelectCellDelegate <NSObject>

- (void)incomeTaxCalculationTimeSelectCell:(XXIncomeTaxCalculationTimeSelectCell *)cell buttonAction:(UIButton *)sender;

@end

@interface XXIncomeTaxCalculationTimeSelectCell : BaseTableViewCell

@property (nonatomic,weak) id<XXIncomeTaxCalculationTimeSelectCellDelegate> delegate;
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *viewTop;
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *viewBottom;
@property (weak, nonatomic) IBOutlet UILabel *titleLabel;
@property (weak, nonatomic) IBOutlet UIView *textView;
@property (weak, nonatomic) IBOutlet UILabel *typeLabel;
@property (weak, nonatomic) IBOutlet UILabel *lineLabel;
@property (strong, nonatomic) XXIncomeTaxCalculationTimeSelectCellModel *model;

@end


#pragma mark - Model

@interface XXIncomeTaxCalculationTimeSelectCellModel : NSObject

@property (nonatomic,copy) NSString *title;
@property (nonatomic,copy) NSString *content;
@property (nonatomic,assign) NSInteger position;

+ (XXIncomeTaxCalculationTimeSelectCellModel *)ittemModelWithTitle:(NSString *)title content:(NSString *)content position:(NSInteger)position;

@end
